home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
gnu
/
libg_261.zip
/
libg_261
/
librx
/
Makefile.in
< prev
next >
Wrap
Makefile
|
1994-09-01
|
2KB
|
101 lines
# Makefile for librx
# Copyright (C) 1994 Free Software Foundation, Inc.
#
# This file is part of GNU Rx
#
# GNU Rx is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# GNU Rx is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNU SED; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
SHELL = /bin/sh
srcdir = @srcdir@
VPATH = @srcdir@
prefix = @PREFIX@
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
includedir = $(prefix)/include
infodir = $(prefix)/info
#### Start of system configuration section. ####
CC = @CC@
INSTALL = @INSTALL@
DEFS = @DEFS@
CFLAGS = -g
AR = ar
AR_FLAGS = rc
RANLIB = @RANLIB@
source=rx.c
headers=rx.h
ancillery=configure.in Makefile.in configure \
COPYING.LIB INSTALL INSTALL.rx ChangeLog DOC
distfiles=$(source) $(headers) $(ancillery)
libobjs=rx.o
.c.o:
$(CC) -c $(CFLAGS) $(DEFS) -I$(srcdir) $<
all: librx.a
install:
$(INSTALL) librx.a $(libdir)/librx.a
$(RANLIB) $(libdir)/librx.a
$(INSTALL) $(srcdir)/rx.h $(includedir)/rx.h
uninstall:
rm $(libdir)/librx.a
rm $(includedir)/rx.h
clean:
-rm -f $(libobjs) librx.a
distclean: clean
-rm Makefile config.status
mostlyclean: clean
realclean: distclean
TAGS:
etags $(source)
info:
install-info:
clean-info:
dvi:
check:
dist: $(distfiles)
echo rx-`sed -e '/version_string/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q rx.c` > .fname
rm -rf `cat .fname`
mkdir `cat .fname`
ln $(distfiles) `cat .fname`
tar chzf `cat .fname`.tar.gz `cat .fname`
rm -rf `cat .fname` .fname
librx.a: $(libobjs)
rm -f librx.a
$(AR) $(AR_FLAGS) librx.a rx.o
$(RANLIB) librx.a
rx.o: rx.c rx.h